package com.xiang.dubbo.catmovie.provider.quickstart;

import com.alibaba.dubbo.config.annotation.Service;
import com.xiang.dubbo.catmovie.ServiceAPI;
import org.springframework.stereotype.Component;


@Component
@Service(interfaceClass = ServiceAPI.class)   //这里的Service 要用dubbo的
public class QuickStartServiceImpl implements ServiceAPI {


    @Override
    public String sendMessage(String message) {
        return "quickstart-provider-message="+message;
    }
}
